Augmented Matrices

Introduction

Augmented matrices give us a compact, tidy way to write systems of linear equations.
If you already know what a system of equations is, then an augmented matrix is simply a new way to organize the same information—nothing more mysterious than a clever layout.

This article shows:

Why Use Augmented Matrices?

Augmented matrices help because they:

They are especially helpful when solving larger systems.

From Equations to a Matrix

Consider the system: $$\begin{aligned} 2x + 3y &= 7 \\ -1x + 4y &= 2 \end{aligned}$$ To convert this into an augmented matrix:

  1. Write only the coefficients of $x$ and $y$
  2. Draw a vertical bar to separate the constants
  3. Keep each equation as a row

So the system becomes: $$\left[ \begin{array}{cc|c} 2 & 3 & 7 \\ -1 & 4 & 2 \end{array} \right]$$ Each row corresponds to an equation.
Each column corresponds to a variable.

How to Read an Augmented Matrix

Given: $$\left[ \begin{array}{cc|c} 1 & -2 & 5 \\ 3 & 1 & -4 \end{array} \right]$$ You read it as:

A matrix is just a compact way of storing the same information.

Row Operations (Light Introduction)

You don’t need to master row operations yet, but here are the basic moves:

These operations help us simplify the matrix until the solution becomes obvious.

Example of a simple row operation: $$R_2 \leftarrow R_2 + 2R_1$$ This means:
“Replace row 2 with row 2 plus 2 times row 1.”

A Simple Example

System: $$\begin{aligned} x + y &= 6 \\ x - y &= 2 \end{aligned}$$ Augmented matrix: $$\left[ \begin{array}{cc|c} 1 & 1 & 6 \\ 1 & -1 & 2 \end{array} \right]$$ Perform the row operation: $$R_2 \leftarrow R_2 - R_1$$ Result: $$\left[ \begin{array}{cc|c} 1 & 1 & 6 \\ 0 & -2 & -4 \end{array} \right]$$ From the second row:
$-2y = -4 \Rightarrow y = 2$
Then $x + 2 = 6 \Rightarrow x = 4$.

Exercises

  1. Write the system $$\begin{aligned} x + 2y &= 5 \\ 3x - y &= 4 \end{aligned}$$ as an augmented matrix.

    Solution

    $$\left[ \begin{array}{cc|c} 1 & 2 & 5 \\ 3 & -1 & 4 \end{array} \right]$$
  2. Convert the augmented matrix $$\left[ \begin{array}{cc|c} 2 & -1 & 7 \end{array} \right]$$ into its corresponding equation.

    Solution

    $$2x - 1y = 7$$
  3. Write the system $$\begin{aligned} 2x - 3y &= 1 \\ -x + y &= 4 \end{aligned}$$ as an augmented matrix.

    Solution

    $$\left[ \begin{array}{cc|c} 2 & -3 & 1 \\ -1 & 1 & 4 \end{array} \right]$$
  4. Read the augmented matrix $$\left[ \begin{array}{cc|c} 1 & 4 & 9 \\ 0 & 2 & 6 \end{array} \right]$$ and write the system of equations it represents.

    Solution

    $$\begin{aligned} x + 4y &= 9 \\ 2y &= 6 \end{aligned}$$
  5. True or false:
    The augmented matrix $$\left[ \begin{array}{cc|c} 1 & 0 & 3 \end{array} \right]$$ represents an equation with only one variable.

    Solution


    True.
    The row corresponds to $1x + 0y = 3$, which involves only $x$.
  6. Write the augmented matrix for the system $$\begin{aligned} x &= 2 \\ y &= -1 \end{aligned}$$

    Solution

    $$\left[ \begin{array}{cc|c} 1 & 0 & 2 \\ 0 & 1 & -1 \end{array} \right]$$
  7. Convert the augmented matrix $$\left[ \begin{array}{cc|c} 3 & 2 & 1 \\ 0 & -5 & 10 \end{array} \right]$$ into a system of equations.

    Solution

    $$\begin{aligned} 3x + 2y &= 1 \\ -5y &= 10 \end{aligned}$$